package com.edou.cms.form;

import java.util.ArrayList;
import java.util.List;

import com.edou.base.form.BaseForm;
import com.edou.cms.dto.CmsArticleCondition;
import com.edou.cms.entity.CmsAdvPhoto;
import com.edou.cms.entity.CmsArticle;
import com.edou.cms.entity.CmsChannel;
import com.edou.cms.entity.Message;

public class CmsArticleForm extends BaseForm<CmsArticle> {

	private static final long serialVersionUID = 4346507314203660761L;
	/**
	 * 文章实体
	 */
	private CmsArticle item = new CmsArticle();
	
	private String blogId;
	
	private Message message = new Message();
	
	private Integer menu = 0;
	
	public Integer getMenu() {
		return menu;
	}

	public void setMenu(Integer menu) {
		this.menu = menu;
	}

	public Message getMessage() {
		return message;
	}

	public void setMessage(Message message) {
		this.message = message;
	}

	/**
	 * 文章实体
	 */
	private String id;

	/**
	 * 栏目集合
	 */
	private List<CmsChannel> cmsChannels = new ArrayList<CmsChannel>();
	/**
	 * 文章集合
	 */
	private List<CmsArticle> cmsArticles = new ArrayList<CmsArticle>();
	
	/**
	 * 文章集合
	 */
	private List<CmsArticle> orderNewsList = new ArrayList<CmsArticle>();
	
	/**
	 * 文章集合
	 */
	private List<CmsArticle> keyNewsList = new ArrayList<CmsArticle>();
	
	/**
	 * 首页轮转广告No1
	 */
	private List<CmsAdvPhoto> photosNo1 = new ArrayList<CmsAdvPhoto>();
	
	/**
	 * 首页轮转广告No2
	 */
	private List<CmsAdvPhoto> photosNo2 = new ArrayList<CmsAdvPhoto>();
	
	/**
	 * 首页轮转广告No3
	 */
	private List<CmsAdvPhoto> photosNo3 = new ArrayList<CmsAdvPhoto>();
	
	/**
	 * 首页轮转广告No4
	 */
	private List<CmsAdvPhoto> photosNo4 = new ArrayList<CmsAdvPhoto>();


	/**
	 * 文章条件类
	 * 
	 * @return
	 */
	private CmsArticleCondition condition = new CmsArticleCondition();
	
	/**
	 * 文章ID
	 * @return
	 */
	private String articleId;
	
	/**
	 * 类别ID
	 * @return
	 */
	private String cid;
	
	/**
	 * 大类别分类
	 * @return
	 */
	private Integer bcid;
	
	/**
	 * 类别实体
	 * @return
	 */
	private CmsChannel channel;
	private CmsChannel channel1;
	
	private List<String> visitCountList = new ArrayList<String>();
	
	private List<String> downloadCountList = new ArrayList<String>();	
	
	/**
	 * 页码
	 * @return
	 */
	private int page;
	
	private double count;
	
	/** 用于详细页左侧栏目菜单 - 展示文章 */
	private List<CmsArticle> menuArticles = new ArrayList<CmsArticle>();
	
	/** 文章详细页广告位 */
	private CmsAdvPhoto photo;
	
	/** 最新公告 */
	private List<CmsArticle> articlesAnnounce = new ArrayList<CmsArticle>();
	/** 全站搜索关键词，模糊匹配文章标题与摘要 */
	private String key;
	
	/** 类型（1：博主 2：自媒体**/
	private Integer authorType;
	
	/** 栏目---树节点*/
	private String treeNodeId;
	
	private String states;
	
	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public List<CmsArticle> getArticlesAnnounce() {
		return articlesAnnounce;
	}

	public void setArticlesAnnounce(List<CmsArticle> articlesAnnounce) {
		this.articlesAnnounce = articlesAnnounce;
	}

	public List<CmsArticle> getMenuArticles() {
		return menuArticles;
	}

	public void setMenuArticles(List<CmsArticle> menuArticles) {
		this.menuArticles = menuArticles;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public CmsArticleCondition getCondition() {
		return condition;
	}

	public void setCondition(CmsArticleCondition condition) {
		this.condition = condition;
	}

	public CmsArticle getItem() {
		return item;
	}

	public void setItem(CmsArticle item) {
		this.item = item;
	}

	public List<CmsChannel> getCmsChannels() {
		return cmsChannels;
	}

	public void setCmsChannels(List<CmsChannel> cmsChannels) {
		this.cmsChannels = cmsChannels;
	}

	public String getCid() {
		return cid;
	}

	public void setCid(String cid) {
		this.cid = cid;
	}

	public CmsChannel getChannel() {
		return channel;
	}

	public void setChannel(CmsChannel channel) {
		this.channel = channel;
	}

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public List<CmsArticle> getCmsArticles() {
		return cmsArticles;
	}

	public void setCmsArticles(List<CmsArticle> cmsArticles) {
		this.cmsArticles = cmsArticles;
	}

	public List<CmsAdvPhoto> getPhotosNo1() {
		return photosNo1;
	}

	public void setPhotosNo1(List<CmsAdvPhoto> photosNo1) {
		this.photosNo1 = photosNo1;
	}

	public List<CmsAdvPhoto> getPhotosNo2() {
		return photosNo2;
	}

	public void setPhotosNo2(List<CmsAdvPhoto> photosNo2) {
		this.photosNo2 = photosNo2;
	}

	public List<CmsAdvPhoto> getPhotosNo3() {
		return photosNo3;
	}

	public void setPhotosNo3(List<CmsAdvPhoto> photosNo3) {
		this.photosNo3 = photosNo3;
	}

	public List<String> getVisitCountList() {
		return visitCountList;
	}

	public void setVisitCountList(List<String> visitCountList) {
		this.visitCountList = visitCountList;
	}

	public List<String> getDownloadCountList() {
		return downloadCountList;
	}

	public void setDownloadCountList(List<String> downloadCountList) {
		this.downloadCountList = downloadCountList;
	}

	public List<CmsAdvPhoto> getPhotosNo4() {
		return photosNo4;
	}

	public void setPhotosNo4(List<CmsAdvPhoto> photosNo4) {
		this.photosNo4 = photosNo4;
	}

	/**
	 * @return the count
	 */
	public double getCount() {
		return count;
	}

	/**
	 * @param count the count to set
	 */
	public void setCount(double count) {
		this.count = count;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getBcid() {
		return bcid;
	}

	public void setBcid(Integer bcid) {
		this.bcid = bcid;
	}

	public CmsChannel getChannel1() {
		return channel1;
	}

	public void setChannel1(CmsChannel channel1) {
		this.channel1 = channel1;
	}

	public List<CmsArticle> getKeyNewsList() {
		return keyNewsList;
	}

	public void setKeyNewsList(List<CmsArticle> keyNewsList) {
		this.keyNewsList = keyNewsList;
	}

	public List<CmsArticle> getOrderNewsList() {
		return orderNewsList;
	}

	public void setOrderNewsList(List<CmsArticle> orderNewsList) {
		this.orderNewsList = orderNewsList;
	}

	public CmsAdvPhoto getPhoto() {
		return photo;
	}

	public void setPhoto(CmsAdvPhoto photo) {
		this.photo = photo;
	}

	public Integer getAuthorType() {
		return authorType;
	}

	public void setAuthorType(Integer authorType) {
		this.authorType = authorType;
	}

	public String getBlogId() {
		return blogId;
	}

	public void setBlogId(String blogId) {
		this.blogId = blogId;
	}
	
	/** 栏目---树节点*/
	public String getTreeNodeId() {
		return treeNodeId;
	}

	/** 栏目---树节点*/
	public void setTreeNodeId(String treeNodeId) {
		this.treeNodeId = treeNodeId;
	}

	public String getStates() {
		return states;
	}

	public void setStates(String states) {
		this.states = states;
	}


	
}
